package com.csun.dsms.controller;

import com.alibaba.fastjson.JSONObject;
import com.csun.dsms.comment.core.utils.wrapper.Wrapper;
import com.csun.dsms.model.process.ProblemSummaryInfo;
import com.csun.dsms.model.qo.ProblemSummaryAddQo;
import com.csun.dsms.service.ProblemSummaryInfoService;
import com.csun.dsms.service.ProblemSummaryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description
 *
 * @author Hongd
 * @since 2025-08-03
 */
@Slf4j
@RestController
@RequestMapping("/problemSummary")
public class ProblemSummaryController {

    @Autowired
    private ProblemSummaryService problemSummaryService;

    /*@RequestMapping("/addProblemSummaryInfo")
    public Wrapper<Void> addProblemSummaryInfo(@RequestBody ProblemSummaryAddQo addQo) {
        return problemSummaryService.addProblemSummaryInfo(addQo);
    }

    @RequestMapping("/updateProblemSummaryInfo")
    public Wrapper<Object> updateProblemSummaryInfo(@RequestBody ProblemSummaryInfo ProblemSummaryInfo) {
        return  problemSummaryService.updateProblemSummaryInfo(ProblemSummaryInfo);
    }

    @RequestMapping("/deleteProblemSummaryInfo")
    public Wrapper<Object> deleteProblemSummaryInfo(@RequestBody ProblemSummaryInfo ProblemSummaryInfo) {
        return  problemSummaryService.deleteProblemSummaryInfo(ProblemSummaryInfo);
    }

    @RequestMapping("/selectProblemSummaryInfoPage")
    public Wrapper<Object> selectProblemSummaryInfoPage(@RequestBody JSONObject reqJson) {
        return problemSummaryService.selectProblemSummaryInfoPage(reqJson);
    }*/

}
